Skip to content

Conversation

fourteatoo
Copy link

In my specific case that patch allowed me to work around an annoying warning at each and every http request that crowded the log file:

[2019-06-05T12:40:01,590][WARN ][o.a.h.i.a.HttpAuthenticator] NEGOTIATE authentication error: Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)

The server accepts NEGOTIATE and NTLM but NEGOTIATE fails.

The patch lets me do requests like this:

(get "http://whatever-ms-server.com/some/page.aspx"
     {:ntlm-auth ["user" "password"]
      :auth-schemes ["NTLM"]})

The :auth-schemes parameter avoids the NEGOTIATE attempt.

@dakrone
Copy link
Owner

dakrone commented Jun 10, 2019

@fourtytoo would you mind adding a blurb to the README including this option? Otherwise I think it'd probably get lost without documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants